SQL Stepping Stones For SQL Server by Phillips Julian
Author:Phillips, Julian [Phillips, Julian]
Language: eng
Format: epub
Published: 2021-11-28T16:00:00+00:00
-- Show the suppliers that sell more than 3 different products.
Select s . SupplierName , Count ( p . ProductId ) As "Items"
From SUPPLIERS s
Join PRODUCTS p On p . SupplierId = s . SupplierID
Group By s . SupplierName
Having Count ( p . ProductId ) > 3
Order By Items Desc
go
-- List the employees who handled more than 15 orders in 1996.
Select e . FirstName + ' ' + e . LastName As Person , COUNT ( o . OrderId ) As Orders
From EMPLOYEES As e
Join ORDERS As o On e . EmployeeId = o . EmployeeId
Where DATEPART ( year , o . OrderDate ) = 1996
Group By e . FirstName , e . LastName
Having COUNT ( o . OrderId ) > 15
Order By Orders Desc
go
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Exploring Deepfakes by Bryan Lyon and Matt Tora(7735)
Robo-Advisor with Python by Aki Ranin(7630)
Offensive Shellcode from Scratch by Rishalin Pillay(6110)
Microsoft 365 and SharePoint Online Cookbook by Gaurav Mahajan Sudeep Ghatak Nate Chamberlain Scott Brewster(5030)
Ego Is the Enemy by Ryan Holiday(4958)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4438)
Python for ArcGIS Pro by Silas Toms Bill Parker(4186)
Elevating React Web Development with Gatsby by Samuel Larsen-Disney(3892)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(3630)
Learning C# by Developing Games with Unity 2021 by Harrison Ferrone(3285)
Speed Up Your Python with Rust by Maxwell Flitton(3231)
Liar's Poker by Michael Lewis(3227)
OPNsense Beginner to Professional by Julio Cesar Bueno de Camargo(3195)
Extreme DAX by Michiel Rozema & Henk Vlootman(3172)
Agile Security Operations by Hinne Hettema(3124)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic and Jasmin Redzepagic(3109)
Essential Cryptography for JavaScript Developers by Alessandro Segala(3083)
Cryptography Algorithms by Massimo Bertaccini(3002)
AI-Powered Commerce by Andy Pandharikar & Frederik Bussler(2983)
